home *** CD-ROM | disk | FTP | other *** search
- Path: news.tau.ac.il!usenet
- From: Avi Lev <avil@sapiens.com>
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: detachable program
- Date: Thu, 14 Mar 1996 08:53:00 +0200
- Organization: Sapiens Technologies
- Message-ID: <3147C24C.5C39@sapiens.com>
- References: <Pine.BSD.3.91.960310002355.23759B-100000@ugly.cute.fi>
- NNTP-Posting-Host: honda.sapiens.co.il
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.0 (WinNT; I)
-
- Kristian "Hwmagic" Slavov wrote:
- >
- > Help me!
- > I want to know how to make a program that detaches itself from CLI
-
- well, you can just use the command RUN <program> at the CLI
- prompt and that's it, or, you can write a small loader program
- that spawns a child process and exits, but if you're refering to
- TSR's then it's not that simple as you have to dive in and
- change some OS structure to ensure the program stays in memory
- even when it terminates. hope this helps, Avi.
-